package com.wenhui.schoolyardinfo.manager;

import java.util.regex.Pattern;

/**
 * author    : Urasaki
 * e-mail    : 1164688204@qq.com
 * date      : 2019/6/20 10:48
 * introduce : 是否是英文字母
 */

public class IsEnglishLetterManager {

    public static boolean isEnglishLetter(String str) {

        Pattern pattern = Pattern.compile("[a-zA-Z]");
        return pattern.matcher(str).matches();
    }
}
